Platform Explorer / Nuxeo Platform 2021.48

Component org.nuxeo.search.ui.local.configuration.layouts

Resolution Order

868
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<component name="org.nuxeo.search.ui.local.configuration.layouts">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="SEARCH_CONFIGURATION" link="/search/incl/tabs/search_configuration.xhtml"
      order="100" label="action.view.theme" icon="/icons/file.gif">
      <category>LOCAL_CONFIGURATION</category>
      <filter-id>manage</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">

    <widget name="search_content_views_selection" type="shuttle">
      <labels>
        <label mode="any">
          label.search.local.configuration.content.view.selection.label
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>searchc:allowedContentViews</field>
      </fields>
      <properties mode="any">
        <property name="availableElementsLabel">
          label.search.local.configuration.content.view.selection.available
        </property>
        <property name="selectedElementsLabel">
          label.search.local.configuration.content.view.selection.enable
        </property>
        <property name="sourceItems">
          #{searchUIConfigurationActions.getNotSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="sourceItemVar">contentViewHeader</property>
        <property name="sourceItemValue">#{contentViewHeader.name}</property>
        <property name="sourceItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
        <property name="sourceItemOrdering">label</property>
        <property name="sourceItemCaseSensitive">true</property>
        <property name="targetItems">
          #{searchUIConfigurationActions.getSelectedContentViewHeaders(layoutValue)}
        </property>
        <property name="targetItemVar">contentViewHeader</property>
        <property name="targetItemValue">#{contentViewHeader.name}</property>
        <property name="targetItemLabel">
          #{contentViewHeader.translateTitle ?
          messages[contentViewHeader.title] : contentViewHeader.title}
        </property>
      </properties>
    </widget>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">

    <layout name="search_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">/layouts/layout_default_template.xhtml</property>
        <property name="foldableBoxLabel">label.search.local.configuration.content.view.selection</property>
        <property name="localConfigurationFacet">SearchConfiguration</property>
        <property name="helpLabel">label.search.local.configuration.content.view.selection.info</property>
      </properties>
      <rows>
        <row>
          <widget>search_content_views_selection</widget>
        </row>
      </rows>
    </layout>

  </extension>

</component>